package com.san.earlyWarning.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.san.common.utils.Query;
import com.san.earlyWarning.domain.EarlyWarningDO;
import com.san.earlyWarning.domain.WarningFollowDO;

@Deprecated
@Mapper
public interface EarlyWarningDao {

	List<EarlyWarningDO> list(Query query);

	int count(Query query);

	int changeStatus(EarlyWarningDO earlyWarningDO);

	int save(EarlyWarningDO earlyWarningDO);

	int remove(Long id);

	EarlyWarningDO getById(Long warnId);

	int doEdit(EarlyWarningDO earlyWarningDO);

	List<EarlyWarningDO> listFollow(Query query);

	int countFollow(Query query);

	int followAdd(WarningFollowDO warningFollowDO);

	int followRemove(WarningFollowDO warningFollowDO);

	List<WarningFollowDO> listFollowReview(Query query);

	int countFollowReview(Query query);

	int reviewFollowStatus(WarningFollowDO warningFollowDO);

	List<EarlyWarningDO> listAllFollow();

}
